package cn.shengongying.service;

import cn.shengongying.enums.PayEnum;
import cn.shengongying.model.BossOrder;
import cn.shengongying.model.PayResult;

import java.util.Map;

/**
 * author: RXK
 * date: 2022/1/10 星期一
 * desc:
 */
public interface IPayStrategyService {

    PayResult pay(BossOrder bossOrder) throws Exception;

    PayEnum supportType();

    void callback(Map<String, String> callback);

    void refund(BossOrder bossOrder);

    void handleRefundCallback(Map<String, String> data);
}
